package com.yanqu.road.server.logic.thread;

import com.yanqu.road.entity.thridparty.ChatReportInfo;
import com.yanqu.road.server.helper.SignHelper;
import com.yanqu.road.server.manger.AppKeyMgr;
import com.yanqu.road.server.manger.thirdparty.ThirdPartyMgr;
import com.yanqu.road.utils.executor.GeneralTask;
import com.yanqu.road.utils.http.HttpHelper;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.Map;
import java.util.SortedMap;
import java.util.TreeMap;

public class ChatReportTask extends GeneralTask {

	private Logger logger = LogManager.getLogger(ChatReportTask.class.getName());

	private ChatReportInfo chatReportInfo;

	public ChatReportTask(ChatReportInfo chatReportInfo) {
		super();
		this.chatReportInfo = chatReportInfo;
	}

	@Override
	public void doRun() {
		ThirdPartyMgr.uploadChatData(chatReportInfo);
	}
}
